﻿<UserControl x:Class="MouseExtender.Controls.UserControls.RunningProgramsUC"
						 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
						 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
						 xmlns:uc="clr-namespace:MouseExtender.Controls.UserControls"
						 xmlns:common="clr-namespace:MouseExtender.Logic.Common"
						 xmlns:resx="clr-namespace:MouseExtender.Resources"
						 Background="Transparent" Loaded="UserControl_Loaded">
    <Grid Background="Transparent" Margin="5">
        <Grid.RowDefinitions>
            <RowDefinition Height="20"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
        </Grid.RowDefinitions>
        <TextBlock Text="{x:Static resx:UIResources.RunningPrograms_Title}" Grid.Row="0" HorizontalAlignment="Center" Foreground="#FF333333"/>
        <WrapPanel Background="Transparent"  Grid.Row="1" Margin="5,3,5,5" MinHeight="16"
                   x:Name="wpRunningPrograms"
                   />
        <StackPanel HorizontalAlignment="Right" Grid.Row="2" Orientation="Horizontal" Margin="5,5,10,10">
            <Button x:Name="btnClose" Content="{x:Static resx:UIResources.Buttons_Close}" Click="btnClose_Click" Style="{StaticResource SettingsButtons}" IsCancel="True"/>
            <Button x:Name="btnAddProgram" Visibility="Collapsed" Content="{x:Static resx:UIResources.Buttons_Browse}" Click="btnAddProgram_Click" Style="{StaticResource SettingsButtons}"/>
        </StackPanel>
    </Grid>
</UserControl>
